@import "./public.scss";

// 京东秒杀
.seckill {
    margin-top: 20px;
    height: 260px;
}

.seckill .seckill_count {
    float: left;
    width: 190px;
    height: 100%;
    background-color: $red;
}

.seckill .seckill_count a {
    padding-top: 20px;
    display: block;
    width: 100%;
    height: 100%;
}

.seckill .seckill_count a div:first-child {
    width: 100%;
    height: 45px;
    color: #ffffff;
    padding-left: 35px;
    font-size: 30px;
    line-height: 45px;
    font-weight: 700;
}

.seckill .seckill_count a div:nth-child(2) {
    width: 100%;
    height: 26px;
    color: #ffffff;
    font-size: 18px;
    margin-top: 100px;
    text-align: center;
}

.seckill .seckill_count a div:nth-last-of-type(1) {
    width: 100%;
    height: 30px;
    font-size: 20px;
    color: #ffffff;
    margin: 10px 32px;
}

.seckill .seckill_count a div:nth-last-of-type(1) span {
    float: left;
    width: 30px;
    height: 30px;
    background-color: #2f3430;
    text-align: center;
    line-height: 30px;
}

.seckill .seckill_count a div:nth-last-of-type(1) i {
    font-style: normal;
    width: 20px;
    height: 30px;
    text-align: center;
    float: left;
}

.seckll {
    float: left;
    width: 800px;
    overflow: hidden;
}

.seckill .seckill_lists {
    float: left;
    width: 800px;
    background-color: #ffffff;
}

.seckill .seckill_lists li {
    float: left;
    width: 200px;
    height: 260px;
    font-size: 12px;
    
}

.seckill .seckill_lists li a {
    display: block;
    width: 200px;
    height: 260px;
}

.seckill .seckill_lists li a img {
    width: 140px;
    height: 140px;
    margin: 30px 30px 10px 30px;
}

.seckill .seckill_lists li a span {
    display: block;
    text-align: center;
    margin: 0 20px 10px;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seckill .seckill_lists li a b {
    display: block;
    color: $red;
    text-align: center;

}

.seckill .seckill_lists li a em {
    font-style: normal;
}
.seckill .seckill_lists li a i {
    font-style: normal;
}

.seckill .seckill_lists li a:hover {
    color: $red;
    background-color: rgb(252, 252, 251);
    // border-right: 1px solid #cccccc;
}

.seckrr {
    float: left;
    width: 200px;
    height: 260px;
    overflow: hidden;
    padding: 5px;
    background-color: #ffffff;
}

.seckill .seckill_brand {
    width: 400px;
    height: 260px;
    overflow: hidden;
}

.seckill .seckill_brand li {
    float: left;
    width: 200px;
    height: 260px;
}

.seckill .seckill_brand li a {
    display: block;
    width: 100%;
    height: 100%;
    
}

.seckill .seckill_brand li a img {
    width: 120px;
    height: 120px;
    margin: 30px 40px 10px;
}

.seckill .seckill_brand li a span {
    display: block;
    text-align: center;
    color: #666666;
}

.seckill .seckill_brand li a b {
    display: block;
    width: 82px;
    height: 24px;
    @include border(1px, solid, $red);
    font-size: 12px;
    line-height: 22px;
    border-radius: 12px;
    margin: 10px 0 5px 60px;
    font-weight: 400;
    text-align: center;
    color: $red;
}

.seckill .seckill_brand li a b:hover {
    background-color: $red;
    color: #ffffff;
}

.seckill .seckill_brand li a span:last-child {
    font-weight: 700;
    color: #474748;
}

// .seckill .seckill_brand li a ol {

// }

.seckill .seckill_brand li a ol li {
    float: left;
    width: 4px;
    height: 4px;
    // @include border(1px, solid, $red)
    background-color: $guir;
    border-radius: 2px;
    margin-top: 5px;
    margin-right: 5px;
}

.seckill .seckill_brand li a ol li:first-child {
    margin-left: 93px;
}

.seckill .seckill_brand li a ol li:hover {
    background-color: $red;
}

// 每日特价和品牌闪购部分

// 每日特价
.core {
    height: 340px;
    margin-top: 15px;
}

.core .special, 
.core .j_lightning {
    background-color: #ffffff;
}

.core .special {
    float: left;
    padding: 0px 15px;
    width: 590px;
    height: 100%;
    margin-right: 10px;
}

.core .special .sp_hd {
    width: 100%;
    height: 60px;
    padding-top: 10px;
}

.core .special .sp_hd>a {
    float: left;
    display: block;
    width: 135px;
    height: 32px;
}

.core .special .sp_hd>a h3 {
    display: inline-block;
    font-size: 25px;
    font-weight: 700;
    padding-right: 10px;
}

.core .special .sp_hd>a span {
    position: relative;
    top: -4px;
    left: 0px;
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid $red;
    text-align: center;
    line-height: 14px;
    font-size: 8px;
    border-radius: 8px;
    color: $red;
}

.core .special .sp_hd>a:hover .rd {
    background-color: $red;
    color: #ffffff;
}

.core .special .sp_hd ul {
    float: right;
}

.core .special .sp_hd ul li {
    float: left;
    font-size: 14px;
    color: #cccccc;
}

.core .special .sp_hd ul li a {
    display: block;
    margin-top: 8px;
    margin-right: 30px;

}

.core .special .sp_hd ul li:last-child a {
    margin-right: 25px;
}

.core .special .sp_hd ul li a:hover {
    color: $red;
    border-bottom: 2px solid $red;
}

.special .sp_bd {
    float: left;
    width: 560px;
    height: 270px;
}

.special .sp_bd .sp_items ul li{
    float: left;
}


.special .sp_bd .sp_items ul li:first-child a {
    display: block;
    width: 170px;
    height: 265px;
    background-color: #f8f8f9;
    margin: 0;
}

.special .sp_bd .sp_items ul li:first-child a span:first-child {
    display: block;
    width: 90px;
    height: 24px;
    color: #ffffff;
    font-size: 12px;
    text-align: center;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 20px;
}

.special .sp_bd .sp_items ul li:first-child a img {
    display: block;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.special .sp_bd .sp_items ul li:first-child a p {
    margin-top: 10px;
    text-align: center;
}

.special .sp_bd .sp_items ul li:first-child a p:nth-of-type(2) i,
.special .sp_bd .sp_items ul li:first-child a p:nth-of-type(2) em {
    font-style: normal;
    color: $red;
    font-size: 12px;
}

.special .sp_bd .sp_items ul li:first-child a p:nth-of-type(2) em {
    font-size: 18px;
    font-weight: 700;
}

.special .sp_bd .sp_items ul li:first-child a span:last-child {
    display: block;
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-top: 10px;
}

.special .sp_bd .sp_items ul li:first-child a span:last-child i {
    font-style: normal;
    color: $red;
}

.special .sp_bd .sp_items ul li a {
    display: block;
    width: 170px;
    height: 89px;
    margin: 20px 0 30px 20px;
}

.special .sp_bd .sp_items ul li a div:first-child {
    float: left;
    position: relative;
    width: 84px;
    height: 84px;
}

.special .sp_bd .sp_items ul li a div img {
    width: 100%;
    height: 100%;
}

.special .sp_bd .sp_items ul li a div:first-child>p {
    width: 84px;
    background-color: #666666;
    opacity: .8;
    font-size: 12px;
    color: #ffffff;
    position: absolute;
    bottom: 0px;
    left: 0px;
    text-align: center;
}

.special .sp_bd .sp_items ul li a div:last-child{
    float: left;
    padding: 2px 5px;
    font-size: 10px;
    
}

.special .sp_bd .sp_items ul li a div:last-child>p:first-child {
    width: 76px;
    height: 32px;
    overflow: hidden;
}

.special .sp_bd .sp_items ul li a div:last-child>p:nth-child(2) {
    color: $red;
    margin-top: 5px;
    font-size: 12px;
    font-style: normal;
}

.special .sp_bd .sp_items ul li a div:last-child>p:nth-child(2) span {
    font-size: 14px;
    font-weight: 700;
}

.special .sp_bd .sp_items ul li a div:last-child>p:nth-child(3) {
    margin-top: 9px;
    font-size: 12px;
    text-align: center;
}

.special .sp_bd .sp_items ul li a div:last-child>p:nth-child(3) span {
    color: #666666;
}

.special .sp_bd .sp_items ul li a div:last-child>p:nth-child(3) i {
    font-style: normal;
    color: $red;
}

.special .sp_bd .sp_items ul li a:hover .rd1 {
    color: $red;
}

// 品牌闪购
.j_lightning {
    float: left;
    padding: 0px 15px;
    width: 590px;
    height: 100%;
    background-color: aquamarine;
}

.j_lightning .ln_inner .ln_hd {
    width: 100%;
    height: 60px;
    padding-top: 10px;
}

.j_lightning .ln_inner .ln_hd>a {
    float: left;
    display: block;
    width: 135px;
    height: 32px;
}

.j_lightning .ln_inner .ln_hd>a h3 {
    display: inline-block;
    font-size: 25px;
    font-weight: 700;
    padding-right: 10px;
}

.j_lightning .ln_inner .ln_hd>a span {
    position: relative;
    top: -4px;
    left: 0px;
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid $red;
    text-align: center;
    line-height: 14px;
    font-size: 8px;
    border-radius: 8px;
    color: $red;
}

.j_lightning .ln_inner .ln_hd>a:hover .rd {
    background-color: $red;
    color: #ffffff;
}

.j_lightning .ln_inner .ln_bd ul li {
    float: left;
}


// 以下都需要修改

.j_lightning .ln_inner .ln_bd ul li:first-child a{
    display: block;
    width: 270px;
    height: 265px;
    margin-right: 10px;
    background-color: aqua;
}

.j_lightning .ln_inner .ln_bd ul li:first-child a img {
    width: 270px;
    height: 265px;
}


// 发现好货
.nice_goods {
    margin-top: 15px;
    height: 260px;
    background-color: antiquewhite;
}

.nice_goods a {
    float: left;
    display: block;
    width: 190px;
    height: 100%;
    background-color: blue;
    margin-right: 10px;
}

.nice_goods .goods_lt {
    float: left;

    width: 990px;
    height: 100%;
}


// 为你推荐
.more {
    margin-top: 10px;
    
}

.foor h3{
    width: 210px;
    height: 45px;
    margin: auto;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
}
.feed_tab {
    height: 60px;
    
}

.feed_tab ul {
    margin-bottom: 10px;
}

.feed_tab ul li {
    float: left;
}

.feed_tab ul li a {
    position: relative;
    display: block;
    width: 198px;
    height: 60px;
    background-color: #ffffff;
    text-align: center;
}

.feed_tab ul li a span {
    position: absolute;
    height: 20px;
    text-align: center;
    font-size: 14px;
}

.feed_tab ul li a span:first-child {
    top: 5px;
    left: 59px;
    font-size: 16px;
    font-weight: 700;
    height: 26px;
    width: 80px;
    line-height: 26px;
    border-radius: 14px;
    
}

.sp {
    color: #2f3430;
}

// .feed_tab ul li:first-child a span:first-child {
//     background-color: $red;
//     color: #ffffff;
// }

.rdrad {
    background-color: $red;
    border-radius: 13px;
    color: #ffffff;
}

.feed_tab ul li a span:nth-last-child(2) {
    width: 76px;
    top: 33px;
    left: 61px;
    color: #999999;
}

.feed_tab ul li a div {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 40px;
    margin: 10px 0px;
    width: 1px;
    background: linear-gradient(white, rgb(223, 223, 223) 51%, white);
}

// .f4

.shangpin_lists {
    margin-bottom: 50px;
}

.shangpin_lists ul {
    display: block;
}

.shangpin_lists ul li {
    float: left;
    margin-right: 10px;
    margin-top: 10px;
}

.shangpin_lists ul li:nth-child(5n) {
    margin: 0;
    margin-top: 10px;
}

.shangpin_lists ul li a {
    display: block;
    width: 230px;
    height: 322px;
    background-color: #ffffff;
}

.shangpin_lists ul li a img {
    width: 150px;
    height: 150px;
    margin: 30px 40px 40px;
}

.shangpin_lists ul li a p {
    margin-left: 20px;
    font-size: 14px;
    width: 190px;
    height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: #747774;
}

.shangpin_lists ul li a i {
    float: left;
    font-style: normal;
    color: $red;
    margin: 20px 0 20px 20px ;
}

.shangpin_lists ul li a span {
    float: right;
    margin: 20px 10px 0 0;
    width: 30px;
    height: 20px;
    border: 1px solid $red;
    font-size: 14px;
    border-radius: 2px;
    text-align: center;
    color: $red;
    line-height: 20px;
}

.shangpin_lists ul li a:hover .rrrd{
    color: $red;
}